package com.example.demo.mapper;

import com.example.demo.po.Lab;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface LabMap {


    void SaveLab(Lab lab);

    List<Lab> GetLabs();

    void DeleteLabs(int id);

    void UpdateLabs(Lab lab);

    List<Lab> SearchLabsByName(String name);
    List<Lab>  GetByCourse();

    int CountLab();
}
